package com.weichen.studentgameexchange.member.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

import java.time.LocalDate;

/**
 * 功能：
 * 作者：惟尘
 * 日期：2025/1/26 10:32
 */
@Data
@ToString
@Schema(name = "Education对象", description = "查询用户教育信息实体")
public class UserEducationVo {

    /**
     * 主键
     */
    @Schema(defaultValue = "主键")
    @TableId(value = "user_id", type = IdType.AUTO)
    private Long userId;



    /**
     * 学校
     */
    @TableField("school")
    @Schema(defaultValue = "学校")
    private String school;


    /**
     * 毕业时间id
     */
    @Schema(defaultValue = "毕业时间id")
    @TableField("graduation_time_id")
    private Integer graduationTimeId;

    /**
     * 在线验证码
     */
    @Schema(defaultValue = "在线验证码")
    @TableField("online_verification_code")
    private String onlineVerificationCode;


    @Schema(defaultValue = "入学时间")
    @TableField(value = "time_of_enrollment")
    private LocalDate timeOfEnrollment;

    @Schema(defaultValue = "毕业时间")
    @TableField(value = "graduation_time")
    private LocalDate graduationTime;


}
